package com.alter.zhang.wxconsumer.controller;

import com.alter.zhang.wxconsumer.feign.UserFignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {


    @Autowired
    private UserFignService userFignService;

    @RequestMapping("/test")
    public String test(){
        return this.userFignService.findById();
    }

}
